<div class="portlet">
    <form class="portlet-search-body" name="queryForm">
        <div class="search-item">
            <button class="btn btn-icon-only default"><i class="fa fa-chevron-right"></i></button>
            <button class="btn btn-sm query" ng-click="grid.query();"><i class="fa fa-search"></i> 查询</button>
            <button class="btn btn-sm reset" ng-click="grid.reset();"><i class="fa fa-eraser"></i> 重置</button>
        </div>
    </form>
    <div class="portlet-body">
        <table ed-grid="grid"  class="table table-striped table-bordered table-advance table-hover"
               data-options="url: 'adWorkBillSettlement/query.do', modelText: 'xx列表', form: 'queryForm', modal: 'modal'">
            <thead>
            <tr>
                <th data-options="field: '_index'"></th>
                <th data-options="field: 'adOrderId'">制作单编号</th>
                <th data-options="field: 'adContent'">广告内容</th>
                <th data-options="field: 'businessType'">业务类型</th>
                <th data-options="field: 'publishType'">发布形式</th>
                <th data-options="field: 'makeType'">制作形式</th>
                <th data-options="field: 'coverAd'">覆盖广告</th>
                <th data-options="field: 'amount'">金额(￥)</th>
                <th data-options="field: 'settlementDate'">结算日期</th>
                <th data-options="field: 'remark'">备注</th>
            </tr>
            </thead>
        </table>
    </div>
</div>

<div ed-modal="modal" data-options="title: 'xxxx', static: true, width: 720, defaultButton:false,onHidden:'reset'">
    <form action="#" class="form-horizontal w5c-form" w5c-form-validate novalidate name="validateForm">
        <div class="form-body">
			<div class="form-group">
				<label class="col-md-4 control-label">制作单编号</label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="adOrderId" ng-model="adWorkBillSettlement.adOrderId" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-4 control-label">广告内容</label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="adContent" ng-model="adWorkBillSettlement.adContent" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-4 control-label">业务类型</label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="businessType" ng-model="adWorkBillSettlement.businessType" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-4 control-label">发布形式</label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="publishType" ng-model="adWorkBillSettlement.publishType" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-4 control-label">制作形式</label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="makeType" ng-model="adWorkBillSettlement.makeType" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-4 control-label">覆盖广告</label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="coverAd" ng-model="adWorkBillSettlement.coverAd" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-4 control-label">金额</label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="amount" ng-model="adWorkBillSettlement.amount" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-4 control-label">结算日期</label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="settlementDate" ng-model="adWorkBillSettlement.settlementDate" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-md-4 control-label"></label>
				<div class="col-md-4">
					<input type="text" class="form-control" name="remark" ng-model="adWorkBillSettlement.remark" required>
				</div>
			</div>
        </div>
        <div class="form-actions">
            <button type="button" class="btn default" ng-click="grid.cancel();">
                <i class="fa fa-times"></i> 取消
            </button>
            <button type="button" class="btn blue" ng-click="grid.save();">
                <i class="fa fa-times"></i> 确定
            </button>
        </div>
    </form>
</div>
